<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>tp5+plupload图片上传</title>
</head>
<body>

<form  action="{:url('upload')}" method="post" enctype="multipart/form-data" name="form1">
    <div class="layui-form-item">
        <label class="layui-form-label">图片上传</label>
        <input type="file" class="files" name="files" id="files">
    </div>
    <form  action="{:url('upload')}" method="post" enctype="multipart/form-data" name="form1">
        <div class="layui-form-item">
            <label class="layui-form-label">图片上传</label>
            <input type="file" class="files" name="files1" id="files1">
        </div>
</form>
<button onclick="one()">提交</button>
</body>
<script>
function one(){
    document.form1.submit();
}
</script>
</html>